function z = zFunction( pattern )
% FUNCTION Summary of this function goes here
%   Detailed explanation goes here

z = exp(-(pattern(1) + 1).^2 - (pattern(2) - 1).^2) + exp(-(pattern(1) - 1).^2 - (pattern(2) + 1).^2);

end

